// 布局
export const layout = {
  type: 'mindmap', // 布局类型，支持 dendrogram、compactBox、mindmap 和 indeted,脑图树布局
  direction: 'H', // 布局方向
  getHeight: node => {
    return node.height;
  },
  getWidth: node => {
    return node.width;
  },
  getVGap: () => {
    return 10;
  },
  getHGap: () => {
    return 100;
  },
  getSubTreeSep: node => {
    return node.height
  }
}
// 连线类型及样式
export const defaultEdge = {
  type: 'cubic-horizontal',
  // polyline
  style: {
    lineWidth: 2,
  }
}

export const colorArr = [

  '#5AD8A6',
  '#5D7092',
  '#F6BD16',
  '#6F5EF9',
  '#6DC8EC',
  '#D3EEF9',
  '#DECFEA',
  '#FFE0C7',
  '#1E9493',
  '#BBDEDE',
  '#FF99C3',
  '#FFE0ED',
  '#CDDDFD',
  '#CDF3E4',
  '#CED4DE',
  '#FCEBB9',
  '#D3CEFD',
  '#945FB9',
  '#FF9845',
];